# Contributor: Sertonix <sertonix@posteo.net>
# Maintainer: Sertonix <sertonix@posteo.net>
pkgname=nano-hare
pkgver=0_git20231021
_commit=6907c3f20a9177c3aeeead5fcf4dae1926471181
pkgrel=0
pkgdesc="Nano syntax highlighting for Hare"
url="https://sr.ht/~lmarz/nano-hare/"
arch="noarch"
license="Unlicense"
install_if="nano-syntax hare"
source="$pkgname-$_commit.tar.gz::https://git.sr.ht/~lmarz/nano-hare/archive/$_commit.tar.gz"
builddir="$srcdir/nano-hare-$_commit"
# !check: no checks available
options="!check"

package() {
	install -Dm0644 -t "$pkgdir"/usr/share/nano/ -- "$builddir"/hare.nanorc
}

sha512sums="
b77d83f952ac72114d0902895fe6994d45b97131415610e3d98344e9bdbf880c8c98e63ef3c0c713c6d84e31280545e8976bc88f1d597b79fc1570b94e8c5648  nano-hare-6907c3f20a9177c3aeeead5fcf4dae1926471181.tar.gz
"
